package com.ruoyi.ring.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 事件小计对象 az_daily_tags
 * 
 * @author liuwp
 * @date 2025-08-18
 */
@Data
public class DailyTags extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dailyValue;

    /** 情绪，1：非常不愉快，2：有点不愉快，3：不悲不喜，4：有点愉快，5：非常愉快 */
    @Excel(name = "情绪，1：非常不愉快，2：有点不愉快，3：不悲不喜，4：有点愉快，5：非常愉快", dictType = "az_emotion_type")
    private Integer emotion;

    /** 情绪感受 */
    @Excel(name = "情绪感受")
    private String emotionalFeel;

    /** 吃了什么 */
    @Excel(name = "吃了什么")
    private String eatThing;

    /** 娱乐活动 */
    @Excel(name = "娱乐活动")
    private String gameThing;

    /** 运动 */
    @Excel(name = "运动")
    private String sportThing;

    /** 症状 */
    @Excel(name = "症状")
    private String symptomThing;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 事件 */
    @Excel(name = "事件")
    private String eventInfo;

    /** AI评语 */
    @Excel(name = "AI评语")
    private String aiCcomments;
    /** 记录分数 */
    @Excel(name = "记录分数")
    private String recordScores;

    /** 推荐打卡事项 */
    @Excel(name = "推荐打卡事项")
    private String recommendItems;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("dailyValue", getDailyValue())
            .append("emotion", getEmotion())
            .append("emotionalFeel", getEmotionalFeel())
            .append("eatThing", getEatThing())
            .append("gameThing", getGameThing())
            .append("sportThing", getSportThing())
            .append("symptomThing", getSymptomThing())
            .append("content", getContent())
            .append("remark", getRemark())
            .append("updateTime", getUpdateTime())
                .append("eventInfo", getEventInfo())
                .append("aiCcomments", getAiCcomments())
                .append("recordScores", getRecordScores())
            .toString();
    }
}
